﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Landscape.WebApp
{
    public class LanscapeWebSockets
    {
        //private static readonly OmniWebSockets serverObject = new OmniWebSockets();
        //private Client server = null;

        //private OmniWebSockets()
        //{ }

        //public static OmniWebSockets GetServer()
        //{
        //    return serverObject;
        //}

        //public void StartListen()
        //{
        //    server = new Client("http://127.0.0.1:3000/");
        //    server.Opened += new EventHandler(server_Opened);
        //    server.Message += new EventHandler<MessageEventArgs>(server_Message);
        //    server.SocketConnectionClosed += new EventHandler(server_SocketConnectionClosed);
        //    server.Error += new EventHandler<ErrorEventArgs>(server_Error);
        //}

        //void server_Error(object sender, ErrorEventArgs e)
        //{
        //    throw new NotImplementedException();
        //}

        //void server_SocketConnectionClosed(object sender, EventArgs e)
        //{
        //    throw new NotImplementedException();
        //}

        //void server_Message(object sender, MessageEventArgs e)
        //{
        //    throw new NotImplementedException();
        //}

        //void server_Opened(object sender, EventArgs e)
        //{
        //    throw new NotImplementedException();
        //}
    }
}